package com.tinem.platform.module.starter.jpa.repository.pay;

import com.tinem.platform.module.pojo.enums.common.Enabled;
import com.tinem.platform.module.starter.jpa.entity.pay.PayChannel;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author fzh
 * @version v1
 * @program: platform
 * @className PayChannelRepository
 * @description 支付渠道
 * @site 
 * @company 
 * @create 2020-09-01 13:41:09
 */
@Repository
public interface PayChannelRepository extends JpaRepository<PayChannel, String> {

    List<PayChannel> findByEnableOrderBySortDesc(Enabled enabled);
}
